package com.test.template.publish.config;

import com.test.template.publish.config.fac.VelocityTemplateConfig;
import com.test.template.publish.invoke.PropComment;
import lombok.Data;

import java.util.List;

@Data
public class JsClassConfig implements VelocityTemplateConfig {
    // 实体对应的数据库表名称
    private String tableName;
    private List<PropComment> props;
    //    private String entityFileName = "null.d.js";// 为了规范化输出文件名称,此项目删除
    private String lang = ".js";
    private String fileName = "null.d.js";


    public void innerGenerate() {
        fileName = tableName + ".d" + lang;
    }


}
